From 95984e67b8d57fbe1431fcfedf3bb682f28416b3 Mon Sep 17 00:00:00 2001
From: joonhoekim <26rote@gmail.com>
Date: Thu, 27 Nov 2025 17:48:28 +0900
Subject: (김준회) swp 영문 처리
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../swp-document-upload/vendor-document-page.tsx   | 26 +++++++++++-----------
 1 file changed, 13 insertions(+), 13 deletions(-)

(limited to 'app/[lng]/partners/(partners)/swp-document-upload/vendor-document-page.tsx')

diff --git a/app/[lng]/partners/(partners)/swp-document-upload/vendor-document-page.tsx b/app/[lng]/partners/(partners)/swp-document-upload/vendor-document-page.tsx
index 30dd0dba..f8c6f1a7 100644
--- a/app/[lng]/partners/(partners)/swp-document-upload/vendor-document-page.tsx
+++ b/app/[lng]/partners/(partners)/swp-document-upload/vendor-document-page.tsx
@@ -107,9 +107,9 @@ export default function VendorDocumentPage({ searchParams }: VendorDocumentPageP
         setRequiredDocs(uploadedData.requiredDocs);
       }
     } catch (err) {
-      console.error("초기 데이터 로드 실패:", err);
-      setError(err instanceof Error ? err.message : "데이터 로드 실패");
-      toast.error("데이터 로드 실패");
+      console.error("Failed to load initial data:", err);
+      setError(err instanceof Error ? err.message : "Failed to load data");
+      toast.error("Failed to load data");
     } finally {
       setIsLoading(false);
     }
@@ -132,11 +132,11 @@ export default function VendorDocumentPage({ searchParams }: VendorDocumentPageP
       setStats(statsData);
       setInboxFiles(uploadedData.files);
       setRequiredDocs(uploadedData.requiredDocs);
-      toast.success("문서 목록을 갱신했습니다");
+      toast.success("Document list refreshed");
     } catch (err) {
-      console.error("문서 로드 실패:", err);
-      setError(err instanceof Error ? err.message : "문서 로드 실패");
-      toast.error("문서 로드 실패");
+      console.error("Failed to load documents:", err);
+      setError(err instanceof Error ? err.message : "Failed to load documents");
+      toast.error("Failed to load documents");
     } finally {
       setIsRefreshing(false);
     }
@@ -188,7 +188,7 @@ export default function VendorDocumentPage({ searchParams }: VendorDocumentPageP
       }
       if (searchFilters.status) {
         const statusLower = searchFilters.status.toLowerCase();
-        const docStatus = doc.LTST_ACTV_STAT?.toLowerCase() || "";
+        const docStatus = doc.LTST_ACTV_STAT?.toLowerCase() || "waiting";
         if (!docStatus.includes(statusLower)) {
           return false;
         }
@@ -239,7 +239,7 @@ export default function VendorDocumentPage({ searchParams }: VendorDocumentPageP
   }
 
   return (
-    <div {...getRootProps()} className="relative">
+    <div {...getRootProps()} className="relative w-full min-w-0">
       <input {...getInputProps()} />
       
       {/* 드래그 오버레이 */}
@@ -248,9 +248,9 @@ export default function VendorDocumentPage({ searchParams }: VendorDocumentPageP
           <div className="bg-background border-2 border-dashed border-primary rounded-lg p-12 text-center space-y-4">
             <Upload className="h-16 w-16 mx-auto text-primary animate-bounce" />
             <div className="space-y-2">
-              <p className="text-2xl font-semibold">파일을 여기에 드롭하세요</p>
+              <p className="text-2xl font-semibold">Drop files here</p>
               <p className="text-muted-foreground">
-                여러 파일을 한 번에 업로드할 수 있습니다
+                You can upload multiple files at once
               </p>
             </div>
           </div>
@@ -300,13 +300,13 @@ export default function VendorDocumentPage({ searchParams }: VendorDocumentPageP
           <Alert>
             <InfoIcon className="h-4 w-4" />
             <AlertDescription>
-              프로젝트를 선택하여 할당된 문서를 확인하세요.
+              Select a project to view assigned documents.
             </AlertDescription>
           </Alert>
         )}
 
         {/* 메인 테이블 - 탭 구조 */}
-        <Card>
+        <Card className="w-full overflow-hidden">
           <CardHeader>
             <SwpTableToolbar
               projNo={projNo}
-- 
cgit v1.2.3

